package com.project.webOneService;

import com.project.config.MyFeignConfiguration;
import com.project.dto.UpdateDiscountDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@FeignClient(name = "cscserver",path = "UserRecharge",configuration = MyFeignConfiguration.class)
public interface IAddMoneyService {
    @RequestMapping("addMoney/{userNum}/{addMoney}")
    public UpdateDiscountDto updateUserDiscount(@PathVariable("userNum") Long userNum, @PathVariable("addMoney") Double addMoney);
}
